#include<iostream>
using namespace std;
#include<fstream>
#include<cmath>
#define grid 200

int main(){

	int i,j;
	double x,y,z;
	ofstream fp("test.dat");
	for(i=1;i<=grid;i++){
		x = -1 + (i-1)/(double)grid * 2;
		for(j=1;j<=grid;j++){
			y = -1 + (j-1)/(double)grid * 2;
			z = x*x + y*y;
			fp<<x<<"\t"<<y<<"\t"<<z<<"\n";
		}
		fp<<"\n";
	}
	fp.close();
	return 0;
}
			
